package com.abocode.aichat.server.worker;

import com.abocode.aichat.server.context.ServerRuntimeContextRegistry;
import com.abocode.aichat.server.modules.Module;
import com.abocode.aichat.server.stanza.Stanza;
import com.abocode.aichat.server.stanza.Stanza;

/**
 * Created by franky-14.
 */
public interface Worker<K> extends ServerRuntimeContextRegistry {
     void addModule(Module module);

     void execute(K k, Stanza stanza);
}
